package com.wanghongli.week2fitment.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author whl
 * @since 2021-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fitment")
public class Fitment implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 房屋id
     */
    @TableField("hid")
    private Integer hid;

    /**
     * 联系人
     */
    @TableField("user")
    private String user;

    /**
     * 练习电话
     */
    @TableField("userphone")
    private String userphone;

    /**
     * 装修时间
     */
    @TableField("fitdate")
    private LocalDate fitdate;

    /**
     * 结束时间
     */
    @TableField("enddate")
    private LocalDate enddate;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 是否违规
     */
    @TableField("weigui")
    private Integer weigui;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    @TableField(exist = false)
    private String hnum;

    @TableField(exist = false)
    private House house;


}
